Menu Commands > The menu command API > receiveArguments() |
![]() ![]() ![]() |
Description
Processes any arguments passed from a menu item or from dw.runCommand()
, if any arguments were given to the dw.runCommand()
function.
Arguments
{arg1}
, {arg2}
,...{argN}
If the arguments
attribute is defined for a menuitem
tag, the value of that attribute is passed to the receiveArguments()
function (and to the canAcceptCommand()
, isCommandChecked()
, and setMenuText()
functions) as one or more arguments. The arguments
attribute is useful for distinguishing between two menu items that call the same menu command.
Returns
Nothing.
![]() ![]() ![]() |